@model List<Score>;
    <a asp-action="Add">新增</a>
    <form asp-action="Index" method="get">
        <input type="type"name="Keyword" placeholder="请输入关键字">
        <button type="submit">搜索</button>
    </form>
<table>
    <thead>
        <td>编号</td>
        <td>名字</td>
        <td>成绩</td>
    </thead>
    <thead>
        @foreach (var item in Model)
        {
            <tr>
                <td>@item.Id</td>
                <td>@item.Name</td>
                <td>@item.Scores</td>
                <td><a asp-action="Edit" asp-route-id="@item.Id">编辑</a>
                    <a asp-action="Delete" asp-route-id="@item.Id">删除</a>
                </td>
            </tr>
        }
    </thead>
</table>